﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="DishesAddedByMember.aspx.vb" Inherits="JamaicanKitchen.DishAddedByMember" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="AddedBy" HeaderText="AddedBy" 
                    SortExpression="AddedBy" />
                <asp:BoundField DataField="CountOfRatingStars" HeaderText="CountOfRatingStars" 
                    SortExpression="CountOfRatingStars" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:JamaicanConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:JamaicanConnectionString.ProviderName %>" 
            SelectCommand="SELECT [AddedBy], [CountOfRatingStars] FROM [SumOfDishesAdded]">
        </asp:SqlDataSource>
        <br />
    </p>
</asp:Content>
